using System.Threading.Tasks;
using Paradogs2;

namespace Paradogs2
{
    public class AccountRequest
    {
        public static async Task<LoginVO> login(string account, string password)
        {
            return await HttpUtils.PostAsync<LoginVO>(PD2SdkContext.config.login_server_url + "/account/login", ("account", account), ("password", password));
        }
    }

    public class LoginVO
    {
        // jwt-token 令牌
        public string token;
    }

}